package com.imooc.demo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Talk {
    private Integer talkId;
    private String buyerOpenid;
    private String title;
    private String talkText;
    private String picture;
    private Integer status;
    private Integer houtaiStatus;
    private UserInfo userInfo;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date  updateTime;
}
